package com.zhonghe.active4j.filesys.service.impl;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zhonghe.active4j.filesys.dao.FileTaskDao;
import com.zhonghe.active4j.filesys.entity.FileTaskEntity;
import com.zhonghe.active4j.filesys.service.FileTaskService;

@Service("fileTaskService")
@Transactional
public class FileTaskServiceImpl  extends ServiceImpl<FileTaskDao, FileTaskEntity> implements  FileTaskService{

	@Override
	public void saveUser(FileTaskEntity sysConfigEntity, String roleIds) {
		super.save(sysConfigEntity);
	}

	@Override
	public void saveOrUpdateUser(FileTaskEntity sysConfigEntity, String roleIds) {
		super.saveOrUpdate(sysConfigEntity);
	}

	@Override
	public void delete(FileTaskEntity sysConfigEntity) {
		//删除用户
		super.removeById(sysConfigEntity.getId());
	}

}
